import javax.swing.JOptionPane;

public class DrvFormPrincipal {
	public static void main (String []
			args){
		int opt;
		opt = Integer.parseInt(JOptionPane.showInputDialog("1: TV" + "\n2: Sair"));
		if (opt == 1){
			opt = Integer.parseInt(JOptionPane.showInputDialog("1: Led 32" + "\n2: Led 42"));
			Produto prod=CtlSite.busca(opt);
			JOptionPane.showMessageDialog(null, prod.toString());
		}else{
			System.exit(0);
		}
		
		
	}
}
